package com.sg.qcgl.infra.repository.ball_team.convertor;

import com.sg.qcgl.domain.ball_team.model.BallTeam;
import com.sg.qcgl.infra.repository.ball_team.dataobject.BallTeamDO;

import java.util.Date;

public class BallTeamConvertor {

    public static final BallTeamStructMapper INSTANCE = BallTeamStructMapper.INSTANCE;

    public static BallTeam toDomainObject(BallTeamDO ballTeamDO) {
        BallTeam ballTeam = INSTANCE.toDomainObject(ballTeamDO);
        return ballTeam;
    }

    public static BallTeamDO entityToCreateDO(BallTeam ballTeam) {
        BallTeamDO ballTeamDO = INSTANCE.entityToCreateDO(ballTeam);
        return ballTeamDO;
    }

}
